:root {
    --accent-red: #ff3b3b;
    --light-bg: #f8f9fa;
    --glass-white: rgba(255, 255, 255, 0.7);
    --text-main: #1d1d1f;
    --text-dim: #86868b;
}

.auth-viewport.light-theme {
    background: radial-gradient(circle at top right, #ffffff, #f0f0f0);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* کانتینر شیشه‌ای روشن */
.auth-glass-container {
    width: 100%;
    max-width: 440px;
    background: var(--glass-white);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.auth-glass-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* تگ Secure بالای عنوان */
.auth-top-notif {
    margin-bottom: 20px;
}

.secure-tag {
    background: rgba(255, 59, 59, 0.08);
    color: var(--accent-red);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-main-title {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 800;
}

.red-text { color: var(--accent-red); }

.auth-desc {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

/* اینپوت فیلد در تم روشن */
.input-wrapper-premium {
    position: relative;
    background: rgba(0,0,0,0.03);
    border-radius: 16px;
    padding: 10px 20px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.input-wrapper-premium:focus-within {
    background: #fff;
    border-color: var(--accent-red);
    box-shadow: 0 10px 20px rgba(255,59,59,0.05);
}

.auth-input-field {
    width: 100%;
    border: none;
    background: transparent;
    padding: 20px 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.auth-input-field:focus { outline: none; }

.auth-label-premium {
    position: absolute;
    left: 20px;
    top: 22px;
    color: var(--text-dim);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.auth-input-field:focus ~ .auth-label-premium,
.auth-input-field:not(:placeholder-shown) ~ .auth-label-premium {
    transform: translateY(-14px) scale(0.8);
    color: var(--accent-red);
}

/* دکمه با هاور انیمیشنی */
.auth-btn-submit {
    width: 100%;
    height: 64px;
    background: var(--text-main);
    color: #fff;
    border: none;
    border-radius: 18px;
    margin-top: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s;
}

.auth-btn-submit:hover {
    background: var(--accent-red);
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 59, 59, 0.25);
}

/* دکمه بازگشت در تم روشن */
.auth-back-btn {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.auth-back-btn:hover {
    background: var(--text-main);
    color: #fff;
}
